<template>
  <div class="about">
    <!-- <van-loading v-show="this.$store.state.isLoading" type="spinner" color="#1989fa" /> -->
    <!-- <h1 v-if="!(isLoading)">加载中加载中加载中加载中加载中加载中加载中加载中</h1> -->
    <h1 class="name">{{datas.original_title}}</h1>
    <img  class="pic" :src="datas.images.small" alt="">
    <p class="content">{{datas.summary}}</p>
  </div>
</template>
<script>
export default {
  name:"detail",
  mounted(){
    var id =this.$route.query.id;
    var url="https://douban-api.uieee.com/v2/movie/subject/"+id;
    this.axios.get(url).then(res=>{
      this.datas=res.data
      
        console.log(res)
      // this.isLoading=true;
    })
  },
  data(){
    return{
      datas:{},
      // isLoading:false
    }
  }
}
</script>
<style scoped>
  
</style>
